include(FetchContent)

set(GIT_REPOSITORY_URL "https://gitee.com/coolgpu/spdlog.git")

FetchContent_Declare(
  spdlog
  GIT_REPOSITORY "${GIT_REPOSITORY_URL}"
  GIT_TAG 5ebfc927306fd7ce551fa22244be801cf2b9fdd9
)

message(STATUS "Downloading spdlog from ${GIT_REPOSITORY_URL}")
FetchContent_MakeAvailable(spdlog)

